﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Entity;

namespace Business.Abstract
{
    public interface IJobBookingService
    {
        void Save(JobBooking jobBooking);

        IList<JobBooking> GetAllJobBookings();

        JobBooking GetJobBookingById(long id);

        void DeleteJobBooking(JobBooking jobBooking);

        void UpdateJobBooking(JobBooking jobBooking);

        IList<JobBooking> GetAllJobBooking(JobBooking jobBooking, long customerId, long staffId, DateTime? from, DateTime? to);
        
        IList<JobBooking> GetJobBookingByInvoiceId(long invoiceId);
    }
}
